package com.icoolkj.ms.system.service.impl;

import com.icoolkj.ms.api.system.vo.SysConfigVO;
import com.icoolkj.ms.system.mapper.SysConfigMapper;
import com.icoolkj.ms.system.model.SysConfig;
import com.icoolkj.ms.system.service.ISysConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author icoolkj
 * @version 1.0
 * @description 系统参数配置表 服务层实现
 * @createDate 2025/02/02 16:15
 */
@Service
public class SysConfigServiceImpl implements ISysConfigService {

    @Autowired
    private SysConfigMapper sysConfigMapper;

    /**
     * 查询参数配置列表
     *
     * @param config 参数配置信息
     * @return 参数配置集合
     */
    @Override
    public List<SysConfigVO> selectConfigList(SysConfig config)
    {
        return sysConfigMapper.selectConfigList(config);
    }

}
